package com.car.mapper;

import com.car.entity.Cardetailstable;
import com.car.vo.CardetailstableVo;
import com.car.vo.CartableVo;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface CardetailstableMapper {
    int deleteByPrimaryKey(Integer carDetailsId);

    int insert(CartableVo record);

    Cardetailstable selectByPrimaryKey(Integer carDetailsId);

    List<Cardetailstable> selectAll();

    int updateByPrimaryKey(Cardetailstable record);

	int updateByCarId(Integer carId);
int updateWeixiuCarId(int id);
	
	List<Cardetailstable>selectStoreCar(int storeId);
List<CardetailstableVo> selevtByCarId(@Param("storeName")String storeName,@Param("carBrandId")Integer carBrandId,@Param("carModelId")Integer carModelId);

}